package oop;

import java.util.Scanner;

public class Hello {
    public static void main(String[] args) {
        System.out.println("hello world!");
        Scanner in = new Scanner(System.in);
        //	System.out.println("echo:"+in.nextLine());
        System.out.print("请输入票面：");
        int amount = in.nextInt();
        System.out.print("请输入金额：");
        int price = in.nextInt();
        System.out.println(amount + "-" + price + "=" + (amount - price));
    }
}
